#ifndef SETTINGDIALOG_H
#define SETTINGDIALOG_H

#include <QtGui/QDialog>

#include "PicMove.h"

class QLineEdit;
class QLabel;
class QSettings;
class QCheckBox;

class SettingDialog : public QDialog
{
	Q_OBJECT
public:
	SettingDialog(QSettings *, QWidget *parent = 0);
	~SettingDialog();

	QString path(int) const;
	QString name(int) const;
	bool isEnabledOverwrite() const;
	bool isEnabledCopyAsDefault() const;

public slots:
	virtual void accept();

protected:

private:
	QLineEdit *names[MAX_DEST_COUNT];
	QLabel *paths[MAX_DEST_COUNT];
	QCheckBox *overwrite;
	QCheckBox *copyAsDefault;

	QSettings *settings;

private slots:
	void chooseDir(int);
};

#endif // SETTINGDIALOG_H
